tests: not all UNIX-like OSes have a libpthread.
authorJehan <jehan@girinstud.io>
Mon, 4 Dec 2017 02:33:47 +0000 (03:33 +0100)
committerJehan <jehan@girinstud.io>
Mon, 4 Dec 2017 02:33:47 +0000 (03:33 +0100)
commit5cb3fdeb843ed073fd9e6d00a0ddd2fb6dd0c678
tree87a90e2b70bdaaccd491845799d59f789c7d2afc
parent9083658c43f6d36ebae4e30d95225d79ede4bc30
tests: not all UNIX-like OSes have a libpthread.

In particular Android systems don't need to link with -lpthread
(actually the link would fail with "ld: cannot find -lpthread").
Use the $(THREAD_LIB) variable which is set correctly during configure
since commit c02af82.
tests/Makefile.am